SERVER_PORT = 8999
DEBUG = False
SQLALCHEMY_ECHO = False
SECRET_KEY = 'fljgklajdglkajgkljaglka'
AUTH_COOKIE_NAME = "food"
# 需要过滤url，不用是否登录验证
IGNORE_URLS = [
    "^/user/login"
]
IGNORE_CHECK_LOGIN_URLS = [
    "^/static",
    "^/favicon.icon",
]

API_IGNORE_URLS = [
    "^/api"
]
# 要写自己小程序的appid和appkey
MINA_APP = {
    "appid": "wx8c160cedd9ae9b3b",
    "appkey": "ca6a1e19e67fe3a44afd7b61f3194967",
}
STATUS_MAPPING = {
    "1": "上架",
    "0": "下架"
}

UPLOAD = {
    'ext': ['jpg', 'gif', 'bmp', 'jpeg', 'png'],
    'prefix_path': '/web/static/upload/',
    'prefix_url': '/static/upload/'
}
APP = {
    # 'domain':'http://192.168.3.178:8999'
    'domain': 'http://127.0.0.1:8999'
}
